<button (click)="submit()">保存</button>

<div cdkDropListGroup class="scroll-container">
  <div class="example-container" *ngFor="let list of lists">
    <div>
      <input type="text" [(ngModel)]="list.name">
    </div>
    <div>
      <input type="text" [(ngModel)]="list.type">
    </div>
    <div cdkDropList class="example-list" (cdkDropListDropped)="drop($event)" [cdkDropListData]="list.list">
      <div class="example-box" *ngFor="let item of list.list" cdkDrag>{{item.key}}</div>
    </div>
  </div>

</div>


